import request from '@/utils/request'

// 每月文章数量
export function articleCount() {
  return request({
    url: '/admin/charts/articles',
    method: 'get'
  })
}

// 每周订单数量
export function salesCount() {
  return request({
    url: '/admin/charts/sales_count',
    method: 'get'
  })
}

// 每周销售额
export function amountCount() {
  return request({
    url: '/admin/charts/sales_amount',
    method: 'get'
  })
}
